package work.chenxr.idempotency.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import work.chenxr.idempotency.annotations.Idempotency;

/**
 * @Author Chenxr
 * @Date 2023/10/24
 * @Description
 */
@RestController
public class IdempotencyController {

    @Idempotency
    @GetMapping("/index")
    public String index() {
        return "项目启动成功!";
    }
}
